package org.projecteboot.reptile.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.projecteboot.reptile.common.entity.ReptilePage;
import us.codecraft.webmagic.Page;

import java.util.List;

/**
 * <p>
 * 爬虫页面 服务类
 * </p>
 *
 * @author LuoQiang
 * @since 2019-08-30
 */
public interface ReptilePageService extends IService<ReptilePage> {
    ReptilePage findByPage(Page page);
    ReptilePage findByUrlAndPageRuleId(String url,Long pageRuleId);
    List<ReptilePage> listBySuccess(String success);
}
